package com.snail.auction.model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class AuctionUser implements Serializable{
	private int userId;
	private String username;
	private String userpass;
	private String email;
	private Set<Item> itemsByOwener = new HashSet<Item>();
	private Set<Item> itemsByWinner = new HashSet<Item>();
	private Set<Bid> bids = new HashSet<Bid>();
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserpass() {
		return userpass;
	}
	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Set<Item> getItemsByOwener() {
		return itemsByOwener;
	}
	public void setItemsByOwener(Set<Item> itemsByOwener) {
		this.itemsByOwener = itemsByOwener;
	}
	public Set<Item> getItemsByWinner() {
		return itemsByWinner;
	}
	public void setItemsByWinner(Set<Item> itemsByWinner) {
		this.itemsByWinner = itemsByWinner;
	}
	public void setBids(Set<Bid> bids) {
		this.bids = bids;
	}
	public Set<Bid> getBids() {
		return bids;
	}

}
